package cn.wolfcode.qo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString
public class QueryObject {
    private Integer currentPage = 1;
    private Integer pageSize = 3;
    public Integer getStart(){
        return (currentPage - 1) * pageSize;
    }
}
